package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;



import java.io.Serializable;
import java.time.LocalDate;



/**
 * <p>
 * 
 * </p>
 *
 * @author shy
 * @since 2022-10-20
 */
@TableName("customer")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cust_id", type = IdType.AUTO)
    private Integer custId;

    private String custName;

    private Long custTelno;

    private Long custPassword;

    private String custEmail;

    private Integer custCertificates;

    private Long custCertificatesNumber;

    private String custImg;

    private LocalDate custBirthday;

    private String custDriverLicense;

    private String custUrgentName;

    private Long custUrgentPhone;

    private String custStatus;

    private String other1;

    private String other2;

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }
    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }
    public Long getCustTelno() {
        return custTelno;
    }

    public void setCustTelno(Long custTelno) {
        this.custTelno = custTelno;
    }
    public Long getCustPassword() {
        return custPassword;
    }

    public void setCustPassword(Long custPassword) {
        this.custPassword = custPassword;
    }
    public String getCustEmail() {
        return custEmail;
    }

    public void setCustEmail(String custEmail) {
        this.custEmail = custEmail;
    }
    public Integer getCustCertificates() {
        return custCertificates;
    }

    public void setCustCertificates(Integer custCertificates) {
        this.custCertificates = custCertificates;
    }
    public Long getCustCertificatesNumber() {
        return custCertificatesNumber;
    }

    public void setCustCertificatesNumber(Long custCertificatesNumber) {
        this.custCertificatesNumber = custCertificatesNumber;
    }
    public String getCustImg() {
        return custImg;
    }

    public void setCustImg(String custImg) {
        this.custImg = custImg;
    }
    public LocalDate getCustBirthday() {
        return custBirthday;
    }

    public void setCustBirthday(LocalDate custBirthday) {
        this.custBirthday = custBirthday;
    }
    public String getCustDriverLicense() {
        return custDriverLicense;
    }

    public void setCustDriverLicense(String custDriverLicense) {
        this.custDriverLicense = custDriverLicense;
    }
    public String getCustUrgentName() {
        return custUrgentName;
    }

    public void setCustUrgentName(String custUrgentName) {
        this.custUrgentName = custUrgentName;
    }
    public Long getCustUrgentPhone() {
        return custUrgentPhone;
    }

    public void setCustUrgentPhone(Long custUrgentPhone) {
        this.custUrgentPhone = custUrgentPhone;
    }
    public String getCustStatus() {
        return custStatus;
    }

    public void setCustStatus(String custStatus) {
        this.custStatus = custStatus;
    }
    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1;
    }
    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2;
    }

    @Override
    public String toString() {
        return "Customer{" +
            "custId=" + custId +
            ", custName=" + custName +
            ", custTelno=" + custTelno +
            ", custPassword=" + custPassword +
            ", custEmail=" + custEmail +
            ", custCertificates=" + custCertificates +
            ", custCertificatesNumber=" + custCertificatesNumber +
            ", custImg=" + custImg +
            ", custBirthday=" + custBirthday +
            ", custDriverLicense=" + custDriverLicense +
            ", custUrgentName=" + custUrgentName +
            ", custUrgentPhone=" + custUrgentPhone +
            ", custStatus=" + custStatus +
            ", other1=" + other1 +
            ", other2=" + other2 +
        "}";
    }
}
